#ifndef UNITFRAME_H
#define UNITFRAME_H

#include <sstream>
#include "SDL/SDL.h"

class UnitFrame
{
    private:
        SDL_Rect hp, mp, icon;
        SDL_Surface *hpText, *mpText;
        std::stringstream hpStream, mpStream;
        int border;
        int playerID;

    public:
        UnitFrame(int playerID, float scale, int border = 1);
        void draw();
        SDL_Rect box;
};

#endif // UNITFRAME_H
